package org.kfive.nova.thread;


import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.atomic.AtomicLongFieldUpdater;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 16-5-2
 * Time: 上午10:52
 * To change this template use File | Settings | File Templates.
 */
public class ViewCounter {

    private AtomicLong counter = new AtomicLong(0);

    public Long getCounter(){
        return counter.longValue();
    }


}
